<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" %>
<%-- JSTL核心标签 --%>
<%@ page import="com.system.commons.utils.DateUtil" %>
<%@ page import="java.util.UUID" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
    <%
    String requestBizNo = DateUtil.getCurrent(DateUtil.fullPattern);
    String traceLogId = UUID.randomUUID()+"";
    String orderValidityTime =  DateUtil.format(DateUtil.addSeconds(DateUtil.getCurrentDate(),15*60),DateUtil.fullPattern);
%>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Cache-Control" content="no-cache"/>
    <meta http-equiv="Content-Type" content="text/html charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="${ctx}/css/bootstrap.min.css"/>
    <script type="text/javascript" src="${ctx}/js/jquery-1.9.1.js"></script>
    <script type="text/javascript" src="${ctx}/js/bootstrap.min.js"></script>
</head>
<body style="height: 100%;overflow: visible;">
<div style="margin-bottom: 60px;">
    <div id="context">
        <form action="${ctx}/pay/webPay" method="post" theme="simple" id="form1">
            <!-- 条件 -->
            <div id="portlet-body" style="text-align: center;overflow:auto;">
                <table class="table-condensed" style="width: 100%;">
                    <tbody>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">请求系统：</label>
                        </td>
                        <td>
                	<span class="control-span">
                        <input type="hidden" name="operator" value="MZ_AHAXI">
                        <input type="hidden" name="serviceCode" value="PAY"/>
                        <input type="text" name="requestSystem" value="WEB" required/>
                	</span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">请求业务编号：</label>
                        </td>
                        <td>
                	<span class="control-span">
                        <input type="text" name="requestBizNo" value="abcdef<%=requestBizNo%>" required/>
                	</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">请求订单号：</label>
                        <td>
                	    <span class="control-span">
                            <input type="text" name="requestOrderNo" value="<%=requestBizNo%>" required/>
                	    </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">金额：</label>
                        <td>
                	        <span class="control-span">
                                <input type="hidden" name="ccy" value="CNY" required/>
                                <input type="text" name="amt" value="1" required/>
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">产品大类：</label>
                        <td>
                	    <span class="control-span">
                            <input type="text" name="bizType" value="ACQUIRING" required/>
                	    </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">产品细类：</label>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="subBizType" value="AUTH_PAY_API" required/>
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">支付终端类型：</label>
                        </td>
                        <td>
                	<span class="control-span">
                        <select name="requestChannel">
                            <option value="WEB">WEB</option>
                            <option value="WAP">WAP</option>
                        </select>
                	</span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">商户号：</label>
                        </td>
                        <td>
                	<span class="control-span">
                        <input type="text" name="merchantNo" value="987654321" required/>
                	</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">付款方客户帐号：</label>
                        </td>
                        <td>
                	<span class="control-span">
                        <input type="text" name="payerNo" value="3177000000000062" required/>
                	</span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">收款方客户帐号：</label>
                        </td>
                        <td>
                	<span class="control-span">
                        <input type="text" name="payeeNo" value="3177000000014172" required/>
                	</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">付款方资金账户号：</label>
                        </td>
                        <td>
                            <span class="control-span">
                                <input type="text" name="payerAccNo" value="97100000000061156" required/>
                            </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">事件号：</label>
                        </td>
                        <td>
                            <span class="control-span">
                                <input type="text" name="eventNo" value="" />
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <label class="control-label text-center">付款方资金明细信息--1</label>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">资金账户号：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail01.accountNo" value="97100000000061156" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">支付工具类型：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail01.payToolType" value="ACCOUNT" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">支付工具子类型：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="hidden" name="payerFundDetail01.ccy" value="CNY"/>
                                <input type="text" name="payerFundDetail01.payToolSubType" value="ACCOUNT" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">支付金额：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail01.payToolAmount" value="0" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">银行代码：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail01.bankCode" value="123" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">卡类型：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail01.cardType" value="123" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">协议组成编号：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail01.agreeRelId" value="123" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">绑卡协议号：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail01.agreementNo" value="123" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">手续费：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail01.bizChargeAmount" value="0" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">手续费账户(出)：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail01.bizFeeAccount" value="97100000000061156" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">备注：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail01.description" value="" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <label class="control-label text-center">付款方资金明细信息--2</label>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">资金账户号：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail02.accountNo" value="12312312312312323" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">支付工具类型：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail02.payToolType" value="BANK_CARD" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">支付工具子类型：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="hidden" name="payerFundDetail02.ccy" value="CNY"/>
                                <input type="text" name="payerFundDetail02.payToolSubType" value="BANK_CARD" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">支付金额：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail02.payToolAmount" value="1" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">银行代码：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail02.bankCode" value="ICBC" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">卡类型：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail02.cardType" value="D" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">协议组成编号：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail02.agreeRelId" value="2" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">绑卡协议号：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail02.agreementNo" value="2" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">手续费：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail02.bizChargeAmount" value="0" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">手续费账户(出)：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail02.bizFeeAccount" value="97100000000061156" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">备注：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payerFundDetail02.description" value="" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <label class="control-label text-center">收款方资金明细信息</label>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">资金账户号：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payeeFundDetail.accountNo" value="97100000014072156" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">支付工具类型：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payeeFundDetail.payToolType" value="ACCOUNT" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">支付工具子类型：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="hidden" name="payeeFundDetail.ccy" value="CNY"/>
                                <input type="text" name="payeeFundDetail.payToolSubType" value="ACCOUNT" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">支付金额：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payeeFundDetail.payToolAmount" value="1" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">银行代码：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payeeFundDetail.bankCode" value="" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">卡类型：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payeeFundDetail.cardType" value="" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">协议组成编号：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payeeFundDetail.agreeRelId" value="123" />
                	        </span>
                        </td>
                        <td class="textRight">
                            <label class="control-label">绑卡协议号：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payeeFundDetail.agreementNo" value="" />
                	        </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="textRight">
                            <label class="control-label">备注：</label>
                        </td>
                        <td>
                	        <span class="control-span">
                                <input type="text" name="payeeFundDetail.description" value="" />
                	        </span>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div style="align-content: center">
                <div>
                    <button type="submit" class="btn btn-success"> 支付</button>
                </div>
            </div>
        </form></div>
</div>